package com.example.attempt.service;

import com.example.attempt.entity.Comment;

import java.util.List;

public interface CommentService {
    public List<Comment> queryAll();
    public List<Comment> queryBySid(String sid);
    public List<Comment> queryByTid(String tid);
    public List<Comment> queryByAid(String aid);
    public Comment queryByCommentId(int commentId);
    public List<Comment> queryByPid(int pid);
    public int addComment(Comment comment);
    public int deleteComment(int commentId);
}
